+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
+2001-02-03 Havoc Pennington <hp@pobox.com>
+
+ * gtk/gtktextbtree.c (_gtk_text_btree_tag): Fix bug reported by
+ Mikael Hermansson with patch from Mikael (if there was a toggle
+ start one after the first character in the range, this function
+ was broken). Bug #50380
+
Sat Feb 3 11:28:03 2001 Owen Taylor <otaylor@redhat.com>
* configure.in: Remove confusing comment about X11.
with the tree. */
stack = iter_stack_new ();
iter = start;
- /* We don't want to delete a toggle that's at the start iterator. */
- gtk_text_iter_forward_char (&iter);
+
+ /* forward_to_tag_toggle() skips a toggle at the start iterator,
+ * which is deliberate - we don't want to delete a toggle at the
+ * start.
+ */
while (gtk_text_iter_forward_to_tag_toggle (&iter, tag))
{
if (gtk_text_iter_compare (&iter, &end) >= 0)